package ooday01;

public class ConsDemo {
    String cpu;
    String gpu;
    String ram;
    String hdd;
    int computerId;

    ConsDemo(){

    }

    ConsDemo(String cpu,String gpu,String ram,String hdd,int computerId){
        this.cpu = cpu;
        this.gpu = gpu;
        this.ram = ram;
        this.hdd = hdd;
        this.computerId = computerId;

    }

    void show(){
        System.out.println(cpu);
        System.out.println(gpu);
        System.out.println(ram);
        System.out.println(hdd);
        System.out.println(computerId);
    }


}
